package de.toolschmied.jjas.client.cms.actions;

import de.toolschmied.jjas.client.widgets.toolbar.Toolbar;

public class EditingToolbar extends Toolbar {

	public interface EditingListener {
		
		void saveEditing();
		
		void cancelEditing();
		
	}
	
	public EditingToolbar(EditingListener listener) {
		SaveAction saveAction = new SaveAction(listener);
		CancelAction cancelAction = new CancelAction(listener);
		
		add(saveAction);
		add(cancelAction);
	}
	
}
